package models;

import javax.persistence.Entity;
import javax.persistence.OneToOne;

import play.db.jpa.Model;

/**
 * la classe des coordonnes de chaque items du tourisme
 * @author islam
 *
 */

@Entity
public class Coords extends Model{
	
	public String email;
	public String address;
	public String website;
	public String longitude;
	public String latitude;
	
	@OneToOne
	public ToursicItem toursicItem;
	
	public Coords(String email, String address, String website, String longitude, String latitude, ToursicItem toursicItem){
		this.email = email;
		this.address = address;
		this.latitude = latitude;
		this.website = website;
		this.longitude = longitude;
		this.toursicItem = toursicItem;
	}

}
